Conversation
|
Unfortunately I do not know how to make any progress here. |
|
Have you seen this: https://github.com/pypa/cibuildwheel |
|
Yes, I have seen this. It's already used via this action: |
|
On Windows I have seen this error: Do you know how to fix it? |
|
On MacOS, the problem is that no fortan compiler can be found although it appears to be installed: |
|
Thanks for all your effort. I'll look into #33 (comment) soon. |
|
It seems that under Windows you must have setuptools installed: https://pypi.org/project/setuptools/ |
|
I squeezed all the trial and error into one commit and rebased this branch. On MacOs I simply got it working by creating a symlink for gfortran pointing to a specific gfortran version. In Windows for the default setup, everything compiles fine, but something is not working with the linking, because when trying to import the module, the following error occurs: When appending the command line flags compiling fails with the error mentioned above: Here is the software installed in the used Windows image: |
Yes, I think when using setup.py installation procedure, setuptools is needed for all platforms. |
|
One step forward? Using Edit: I think we need to focus on the missing-def-error, because it occurs after the compiler-version-error. |
|
Under Windows, there's two main ways to compile. One uses MinGW, the other uses the MS Visual C++. In my experience with compiling this under Windows, this error:
typically arises when the compiled DLL (1) is not compatible (e.g., compiled for a different Python version), (2) it misses an external dependency. My guess is it's (2) which can be solved with static compile, see here. So you would have to add |
7231c5e to
69de6c6
Compare
e39a79b to
aa0c02e
Compare
|
I rebased this branch and squashed everything into two commit. Ready to be merged... |
WIP: Do not merge
I created a Github action to try to solve issue #32. Unfortunately it is not working yet for Windows and MacOS.